/**
 * 
 */
package ext.ux.files.server;

import java.util.List;

import ext.ux.files.client.dialog.model.FileModel;

/**
 * A simple interface which substitute a virtual directory to a real directory
 * @author Eric Taix
 */
public interface FileSystem {
    
  /**
   * Return root directories
   * @param directoryP
   * @return
   */
  public List<FileModel> getRootDirectories();

  /**
   * Return files from a specific sub directory
   * @param directoryP
   * @return
   */
  public List<FileModel> getFiles(FileModel directoryP);
  
}
